]> dgit.raspbian.org Git - gnome-shell.git/commit
dbusServices/extensions: Only allow one dialog at a time
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 26 Oct 2021 17:40:08 +0000 (19:40 +0200)
committerMarge Bot <marge-bot@gnome.org>
Sat, 30 Oct 2021 21:50:47 +0000 (21:50 +0000)
commitb93342f72e871dc8472a9e92b23b45e0e7ded282
treeac6285c6cce9fca3663352bbfbcc42844bd24ff3
parent4d2b008966266ed96325dfd2cf7ebe41902aa270
dbusServices/extensions: Only allow one dialog at a time

Showing multiple preference dialogs at the same time (for instance
by repeated `gnome-extensions prefs` calls) may or may not work as
expected, depending on whether any of the dialogs is modal or not
(read: opened via the Extensions app).

The easiest way to address this is to disallow more than a single
dialog at the time. It's arguably also the more predictable behavior,
and means extensions don't have to deal with inconsistent state
caused by multiple dialogs.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4564

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2013>
js/dbusServices/extensions/extensionsService.js